/**
 * Callback method for when form is shown.
 *
 * @param {Boolean} firstShow form is shown first time after load
 * @param {JSEvent} event the event that triggered the action
 *
 * @private
 *
 * @properties={typeid:24,uuid:"755B80CF-76FF-4C72-8F43-406479B08B04"}
 */
function onShow(firstShow, event) {

	foundset.sort("adm_t300_perfiles_menus_to_adm_t900_menus__menus.n_orden asc")
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @private
 *
 * @properties={typeid:24,uuid:"275EE41D-D8CC-4CE5-BE91-9F1D4C1C6503"}
 */
function ir_empresa(event) {

	globals.ir_formulario(event,forms.frm_adm_t900_empresas.controller.getName(),adm_t300_apli_emp_to_adm_t900_empresas, globals.$MODO_LECTURA);
}
